@import "./mixin";
@import"./cssreset";

#layout_menu {
    width: 1200px;
    height: 60px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 60px;
    border-bottom: 1px solid #eee;
    color: #555;

    .left {
        width: 50%;
        float: left;
    }

    .right {
        width: 50%;
        float: right;

        ul {
            a {
                float: right;

                li {
                    padding-left: 50px;
                    color: #e4393c
                }
            }
        }
    }
}

// 放大镜


#layout_magnifier {
    width: 1200px;
    // height:540px;
    margin: 30px auto;

    .center_magnifier {
        width: 1200px;
        margin: 0 auto;
        height: 540px;

        // 放大镜左
        .left_mag {
            float: left;

            // 放大镜左侧主图
            .left_img_top {
                width: 420px;
                height: 420px;
                float: left;
                border: 1px solid #e0e0e0;
                position: relative;

                img {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                }

                .focus {
                    position: absolute;
                    width: 270px;
                    height: 270px;
                    background-color: #fff;
                    top: 0px;
                    left: 0px;
                    z-index: 10;
                    opacity: 0.5;
                    border: 1px solid red;
                    cursor: crosshair;
                    display: none;
                }

                .mo {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    z-index: 10;
                }
            }

            .big_wrapper {
                position: absolute;
                top: 268px;
                left: 600px;
                width: 500px;
                height: 500px;
                border: 1px solid #ddd;
                overflow: hidden;
                display: none;

                // z-index: 100;
                img {
                    width: 750px;
                    height: 750px;
                    position: absolute;
                    z-index: 10;
                }
            }

            // 下面的小图布局
            .left_img_buttom {
                clear: both;
                position: relative;
                width: 420px;
                height: 90px;

                .img_list {
                    width: 365px;
                    height: 80px;
                    left: 30px;
                    position: relative;
                    padding-top: 30px;
                    // background-color: red;
                    overflow: hidden;

                    .small_pic {
                        width: 7000px;
                        position: absolute;

                        li {
                            float: left;
                            width: 74px;
                            height: 64px;
                            text-align: center;
                            margin-right: 10px;
                            border: 1px #ddd solid;

                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
                }

                .span_prev {
                    position: absolute;
                    bottom: -5px;
                    width: 22px;
                    height: 60px;
                    border: 1px #eee solid;
                    text-indent: -999em;
                    overflow: hidden;
                    cursor: pointer;
                    background: url(https://www.7hua.com/Tpl/2016skin/Public/images/sprite.png) no-repeat;
                    background-position: 8px 0px;
                    z-index: 1000;
                }

                .span_next {
                    display: block;
                    position: absolute;
                    bottom: -5px;
                    // left: px;
                    width: 22px;
                    height: 60px;
                    border: 1px #ddd solid;
                    text-indent: -999em;
                    overflow: hidden;
                    cursor: pointer;
                    right: 0px;

                    background: url(https://www.7hua.com/Tpl/2016skin/Public/images/sprite.png) no-repeat;
                    background-position: -57px 0px;
                }
            }
        }

        //放大镜右
        .right_mag {
            // background-color: brown;
            width: 750px;
            // min-height: 530px;
            float: right;
            height: 500px;

            .right_mag_top {
                width: 750px;
                float: right;

                // 第一行文本
                .right_name {
                    padding: 10px 0px;

                    .name_top {
                        .name_top_left {
                            width: 50%;
                            float: left;

                            h1 {
                                font-weight: 400;
                                color: #333;
                                font-size: 20px;
                                line-height: 40px;
                            }
                        }

                        .name_top_right {
                            width: 50%;
                            float: left;
                            font-weight: 400;
                            color: #333;
                            font-size: 12px;
                            line-height: 40px;
                        }
                    }


                    .name_bottom {
                        font-size: 16px;
                        color: #e01d20;
                        line-height: 20px;
                        padding-top: 6px;
                        padding-bottom: 6px;

                    }
                }

                // 价格横条
                .price_info {
                    height: 80px;
                    width: 100%;
                    background: url(https://www.7hua.com/Tpl/2016skin/Public/images/pro_bg.png);
                    line-height: 80px;
                    font-size: 12px;
                    color: #555;
                    padding-top: 10px;
                    padding-bottom: 10px;

                    // 左边价格区
                    .price_info_left {
                        width: 35%;
                        float: left;
                        line-height: 30px;
                        height: 80px;

                        .shop_price {
                            width: 100%;
                            height: 40px;

                            // background-color: red;
                            .r {
                                text-decoration: line-through;
                                margin-left: 20px;
                                float: left;
                            }

                            .l {
                                margin-left: 10px;
                                float: left;
                            }
                        }

                        .my_price {
                            width: 100%;

                            // height:40px;
                            // background-color: red;
                            .ll {
                                float: left;
                                margin-left: 10px;
                            }

                            .rr {
                                float: left;
                                margin-left: 10px;

                                span {
                                    color: red;
                                    font-size: 25px;
                                    font-weight: 600;
                                    font-family: Arial;
                                }
                            }
                        }
                    }

                    // 中间换手机
                    .price_info_center {
                        width: 25%;
                        float: left;

                        .gophone {
                            display: block;
                            width: 100%;
                            height: 50px;
                            padding: 5px 20px;
                            cursor: pointer;
                            padding-right: 50px;
                            background: url(https://www.7hua.com/Tpl/2016skin/Public/images/pro_app_ico.png
) no-repeat 95px 36px;
                            position: relative;

                            .erweima {
                                display: none;
                                position: absolute;
                                top: 90px;
                                left: -20px;
                            }

                            &:hover {
                                .erweima {
                                    display: block;
                                }
                            }
                        }

                    }

                    // 右边小星星
                    .price_info_right {
                        width: 40%;
                        float: left;

                        .blingbling {
                            position: relative;
                            top: 1px;
                            display: inline-block;
                            width: 68px;
                            height: 12px;
                            background: url(https://www.7hua.com/Tpl/2016skin/Public/images/xing.png) no-repeat;
                        }
                    }
                }


                // 第二行文本
                .right_price {
                    width: 100%;

                    .itemDiv {
                        border-bottom: 1px #dedede solid;
                        padding-top: 10px;
                        padding-bottom: 10px;

                        .pro-item {
                            font-size: 12px;
                            color: #333;
                            line-height: 23px;
                            clear: both;

                            dd {
                                line-height: 18px;
                                width: 700px;
                                float: left;
                                padding: 0px;
                                margin: 0px;
                                clear: both;

                                .fujia_select {
                                    width: 150px;
                                    border: 1px #CCCCCC solid;
                                    line-height: 25px;
                                    height: 25px;
                                    margin-bottom: 10px;
                                    margin-right: 5px;

                                    option {
                                        font-weight: normal;
                                        display: block;
                                        white-space: nowrap;
                                        min-height: 1.2em;
                                        padding: 0px 2px 1px;
                                    }
                                }
                            }
                        }
                    }
                }

                // 第三行文本
                .right_text {
                    width: 750px;
                    height: 100px;
                    line-height: 100px;
                    clear: both;
                    color: #888;
                    font-size: 14px;
                    margin-top: 40px;
                }
            }

            .right_mag_bottom {
                clear: both;
                width: 100%;
                height: 230px;
                // background-color: red;
                position: relative;
                z-index: 10;

                // 选择数量按钮
                .change_number {
                    width: 65px;
                    height: 50px;
                    // background-color: red;
                    position: absolute;
                    top: 70px;
                    left: 10px;

                    .change_number_left {
                        width: 30px;
                        height: 50px;
                        line-height: 50px;
                        float: left;
                        border: 1px solid #dedede;
                        text-align: center;
                    }

                    .change_number_right {
                        width: 30px;
                        height: 50px;
                        // text-align: center;
                        // line-height: 60px;
                        border: 1px solid #dedede;
                        float: left;

                        #add,
                        #less {
                            width: 30px;
                            cursor: pointer;
                            height: 25px;
                            border-bottom: 1px solid #dedede;
                        }
                    }
                }

                // 购买按钮
                #gocart {
                    text-align: center;
                    width: 138px;
                    height: 43px;
                    line-height: 43px;
                    font-family: 'Tahoma', \5FAE\8F6F\96C5\9ED1;
                    font-size: 16px;
                    margin: 0 20px 0 0;
                    vertical-align: top;
                    float: left;
                    border: 2px solid #D41C44;
                    background-color: #FFECED;
                    color: #D41C44;
                    font-weight: 600;
                    position: absolute;
                    top: 70px;
                    left: 100px;
                }

                //    加入购物车按钮
                #addcart {
                    background: url(https://www.7hua.com/Tpl/2016skin/Public/images/procarticon.png) no-repeat;
                    background-position: 29px 13px;
                    text-align: left;
                    text-indent: 62px;
                    width: 188px;
                    font-weight: 600;
                    height: 45px;
                    line-height: 45px;
                    font-family: 'Tahoma', \5FAE\8F6F\96C5\9ED1;
                    font-size: 16px;
                    margin: 0 20px 0 0;
                    vertical-align: top;
                    float: left;
                    border: 1px solid #D22147;
                    background-color: #D22147;
                    color: #FFF;
                    position: absolute;
                    top: 70px;
                    left: 260px;
                }
            }
        }
    }
}

.second_menu {
    display: none;
}